For this week I created my project using an arduino, a potentiometer, and the software interfaces Arduino and Processing. I wrote a program as available below to read values off of the potentiometer through an anolog pin and then a Processing program to take those values and display them in a visualizer as seen in the above video. The above video is the original prototype utilizing an Arduino Mega. |
I used Arduino IDE to program(since it works will with processing). Then I attached a generic 10k potentiometer to the board. The Arduino code collects the potentiometer values(Y-axis values on the processing graph) amd time values(X-axis values on the processing graph). In short Arduino collects sensor values and processing takes those sensor values and makes them in a visual way. The potentiometer I used as a sensor could be replaced with a light sensor, distance sensor, temperature sensor, etc. |